package com.yvon.service.demo.spring.factory;

import com.yvon.service.demo.spring.BeanException;

/**
 * bean工厂
 * 定义获取Bean的接口
 *
 * @author Yvon
 * @since 2022-11-24
 */
public interface BeanFactory {

    Object getBean(String name) throws BeanException;

    Object getBean(String name, Object... args) throws BeanException;
}
